package com.mall.business.domain.entity;

import com.mall.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mall.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 订单操作日志对象 bus_order_operate_log
 *
 * @author zhonglin
 * @date 2020-05-24
 */
public class BusOrderOperateLog
    extends BaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 订单明细 id
   */
  private Long orderOperateLogId;

  /**
   * 订单 id
   */
  @Excel(name = "订单 id")
  private Long orderId;

  /**
   * 操作人姓名
   */
  @Excel(name = "操作人姓名")
  private String operateName;

  /**
   * 操作时间
   */
  @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date operateTime;

  /**
   * 订单状态
   */
  @Excel(name = "订单状态")
  private String orderStatus;

  public void setOrderOperateLogId(Long orderOperateLogId) {

    this.orderOperateLogId = orderOperateLogId;
  }

  public Long getOrderOperateLogId() {

    return orderOperateLogId;
  }

  public void setOrderId(Long orderId) {

    this.orderId = orderId;
  }

  public Long getOrderId() {

    return orderId;
  }

  public void setOperateName(String operateName) {

    this.operateName = operateName;
  }

  public String getOperateName() {

    return operateName;
  }

  public void setOperateTime(Date operateTime) {

    this.operateTime = operateTime;
  }

  public Date getOperateTime() {

    return operateTime;
  }

  public void setOrderStatus(String orderStatus) {

    this.orderStatus = orderStatus;
  }

  public String getOrderStatus() {

    return orderStatus;
  }

  @Override
  public String toString() {

    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("orderOperateLogId", getOrderOperateLogId())
                                                                    .append("orderId", getOrderId())
                                                                    .append("operateName", getOperateName())
                                                                    .append("operateTime", getOperateTime())
                                                                    .append("orderStatus", getOrderStatus())
                                                                    .append("createBy", getCreateBy())
                                                                    .append("createTime", getCreateTime())
                                                                    .append("updateBy", getUpdateBy())
                                                                    .append("updateTime", getUpdateTime())
                                                                    .append("remark", getRemark())
                                                                    .toString();
  }

}
